home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000243_Petri_member@newsguy.com_Thu Apr 22 10:49:18 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
  2. From: Petri <Petri_member@newsguy.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Creating FTP connection to port higher than 32767
  5. Date: 22 Apr 2004 03:16:22 -0700
  6. Organization: Newsguy News Service [http://newsguy.com]
  7. Lines: 55
  8. Message-ID: <c6861m02qdn@drn.newsguy.com>
  9. References: <c66g0g02r4l@drn.newsguy.com> <4086E029.3090500@nyc.rr.com> <c66ps60opb@drn.newsguy.com> <4086F2BD.40402@nyc.rr.com>
  10. NNTP-Posting-Host: p-548.newsdawg.com
  11. X-Newsreader: Direct Read News 4.20
  12. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14960
  13.  
  14. In article <4086F2BD.40402@nyc.rr.com>, Jeffrey Altman says...
  15. >>>> If I try to connect with 'ftp ftp.somesite.net 45451' at the
  16. >>>> Kermit prompt, I get the following response:
  17. >>>> ?Bad port name - "45451"
  18.  
  19. >>> Change the definition of "ftp_port" in ckcftp.c from "short" to 
  20. >>> "unsigned short"
  21.  
  22. >> I ran 'make clean' and 'make redhat9', but now I get another error
  23. >> message I didn't have before the change:
  24. >> (/root/ckermit/) C-Kermit>set ftp command-protection-level private
  25. >> ?Cannot set protection level to PRIVATE
  26. >> (/root/ckermit/) C-Kermit>set ftp data-protection-level private     
  27. >> ?Cannot set protection level to PRIVATE
  28.  
  29. > If it worked before and doesn't work now, something else must have
  30. > changed.
  31.  
  32. The only change I made in the source was adding "unsigned" into the variable
  33. declaration, as you specfied above.
  34.  
  35. Now I noticed this too:
  36. (/root/ckermit/) C-Kermit>set ftp command-protection-level safe
  37. ?Cannot set protection level to SAFE
  38. (/root/ckermit/) C-Kermit>set ftp data-protection-level safe   
  39. ?Cannot set protection level to SAFE
  40.  
  41. I haven't tried the SAFE setting before, I haven't needed it.
  42. But I have used PRIVATE without any warnings, that I am sure of.
  43. The docs says SAFE and PRIVATE have "protected against tampering" in common, I
  44. guess that means it's a hashing of the data.
  45.  
  46. I removed the "unsigned" declaration and recompiled for redhat9 again, to see if
  47. the error message really disappears after the change is undone, and it does not.
  48. PRIVATE does not work any more.
  49. Maybe I'm crazy, but I ran Kermit several times earlier, to find the most
  50. optimum settings for my needs.
  51. I was satisfied when everything worked and I had no error messages.
  52.  
  53. I haven't changed anything in the system, I've only copied dependencies to the
  54. glftpd jail.
  55. I have run Kermit with strace, to see if there are any system dependencies that
  56. are not found, but there is nothing there that I can interpret from it.
  57. Neither have I touched C in a decade, so the source isn't that helpful either.
  58.  
  59. I do get a lot of warnings when I run 'make redhat9', as I commented in an
  60. earlier post.
  61. Is that normal?
  62. Is it perhaps related to this?
  63. This system has all available updates from the Redhat Up2date service, except
  64. those for X.
  65.  
  66.  
  67. Petri
  68.